/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.z100h.supplychain.customer.entity;

import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;

/**
 * 客户仓库Entity
 * @author fyh
 * @version 2019-04-22
 */
public class CustomerStockroom extends DataEntity<CustomerStockroom> {

	private static final long serialVersionUID = 1L;

	private String customerId; // 客户id

	private String customerName; // 客户名称

	private String contract; // 联系人

	private String phone; // 联系电话

	private String stockroomId; // 仓库id

	private String stockroomName; // 仓库名称

	private String address; // 地址

	private Integer amount;

	private String level;

	private String projectId;

	public CustomerStockroom() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public CustomerStockroom(String id) {
		super(id);
	}

	@ExcelField(title = "客户id", align = 2, sort = 0)
	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	@ExcelField(title = "客户名称", align = 2, sort = 1)
	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	@ExcelField(title = "联系人", align = 2, sort = 2)
	public String getContract() {
		return contract;
	}

	public void setContract(String contract) {
		this.contract = contract;
	}

	@ExcelField(title = "联系电话", align = 2, sort = 3)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@ExcelField(title = "仓库id", align = 2, sort = 4)
	public String getStockroomId() {
		return stockroomId;
	}

	public void setStockroomId(String stockroomId) {
		this.stockroomId = stockroomId;
	}

	@ExcelField(title = "仓库名称", align = 2, sort = 5)
	public String getStockroomName() {
		return stockroomName;
	}

	public void setStockroomName(String stockroomName) {
		this.stockroomName = stockroomName;
	}

	@ExcelField(title = "地址", align = 2, sort = 6)
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

}